package cn.lu.joke.mvp.model;

import cn.lu.joke.api.SplashApi;
import cn.lu.joke.entry.ResultData;
import cn.lu.joke.net.CallBack;
import cn.lu.joke.net.NetUtils;
import cn.lu.joke.mvp.model.Callback;
import retrofit2.Response;

public class SplashModel extends BaseModel{

    public void getSplashImgKey(Callback<ResultData<Long>> callback) {
        NetUtils.get()
                .retrofit()
                .create(SplashApi.class)
                .checkImgKey()
                .enqueue(new CallBack<ResultData<Long>>(callback));
    }
}
